home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
015a
/
zapdir41.zip
/
ZAPDIR.DOC
next >
Wrap
Text File
|
1991-09-06
|
4KB
|
74 lines
ZAPDIR.EXE 4.1 - (C) Copyright 1988-91 by Randy E. Turner, ALL RIGHTS RESERVED.
ZAPDIR -- The DOS Directory Tree Trimmer.
Removes a Directory, all Subdirectories and files below it. By default
files marked as read-only are not deleted nor their directories removed.
If you wish to override this default include a "/R+" as the second parameter.
A limited number of safeguards have been included within this utility:
1 - A path specification of less than 3 characters will
not be processed.
2 - A path specification of 3 characters will result in a
prompt for confirmation before processing will continue.
A word of warning C:\ is a valid specification and would be processed
after confirmation. This program is written in "C" and as a result is
extremely fast so while the program may be aborted by Ctrl-C a large
number of files and directories may have already been removed. This
program while extremely useful must be used with great caution. The
command syntax is ZAPDIR d:\pathspec /switch, Where pathspec is a valid
DOS path specification as in C:\Test1\Test2. To facilitate the use of ZAPDIR
within DOS .BAT files the DOS ERRORLEVEL is set on exiting as indicated in
the following table:
DOS ERRORLEVEL \ Condition
0 ... Normal Termination
1 ... Invalid Path Length - Requested path < minimum
2 ... Path Length Warning - Operator Abort!
3 ... No Parameters Specified
4 ... Specified Directory does not exist!
5 ... Target Path Length Exceeds DOS Limit!
ZAPDIR.EXE 4.1 - (C) Copyright 1988-91 by Randy E. Turner, ALL RIGHTS RESERVED.
The author Randy E. Turner, claims no responsibility for any damages caused
by the use or misuse of this product. This product is distributed "as is"
with no warranty expressed or implied. The author will not be responsible
for any losses incured either directly or indirectly by the use of this
product. Use this product entirely at your own risk. The author reserves
the right to make modifications at any time.
This program is distributed as shareware. It is the responsibility of the
end user to determine its suitability for its intended use. This program
is SHAREWARE NOT PUBLIC DOMAIN. If you find this program to be useful
please send a registration fee of $15 per copy to:
Randy E. Turner
612 S. 25th
Mount Vernon, IL 62864
Any suggested enhancements, problem reports or requests for site licenses
may be sent to the same address.
╔══════════════════════════════════════════════════════════════════════╗
║ ║
║ FYI - For those of you with an interest in the nature of this ║
║ program. ZAPDIR.EXE is written in approximately 425 lines of ║
║ Borland C++ 1.0. The use of C as an applications development ║
║ language is growing for many reasons. Among them are the ║
║ following: ║
║ ║
║ 1. Increased portability (the source for ZAPDIR.EXE ║
║ has been compiled under Turbo C, Quick C & Power C ║
║ for the MS-DOS environment). ║
║ ║
║ 2. Increased performance in most environments C based ║
║ applications are among the fastest performers. ║
║ ║
║ 3. In the Novell environment for which this program was ║
║ developed C based applications run as "native code". ║
║ ║
╚══════════════════════════════════════════════════════════════════════╝